package cn.lijiajia3515.cairo.system.modules.file2;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * minio 签名对象
 */
@Data
@Accessors(chain = true)

@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder(toBuilder = true)
public class SignedArgs {

	/**
	 * 上传端点
	 */
	private String endpoint;

	/**
	 * 上传 桶
	 */
	private String bucket;

	/**
	 * 上传路径前缀
	 */
	private String keyPrefix;

	/**
	 * 过期时间
	 */
	private LocalDateTime expiresTime;

	/**
	 * 签名参数
	 */
	private Map<String, String> signPostFormData;
}
